package com.uwlaser.service.dto;


import com.uwlaser.annotation.DateFormat;
import com.uwlaser.domain.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登陆参数
 */
@Data
public class DeviceLoginParam extends BaseParam{

    @ApiModelProperty("账号")
    @NotBlank(message = "登陆账号【userName】不能为空！")
    private String userName;

    @ApiModelProperty("密码")
    @NotBlank(message = "登陆密码【password】不能为空！")
    private String password;
}
